package com.yunyi.user.response;

import com.yunyi.model.announcement.dto.AnnouncementDto;
import com.yunyi.response.ResponseResult;
import com.yunyi.response.ResultCode;
import lombok.Data;
import lombok.ToString;

import java.util.Map;

/**
 * @ClassName Announcement
 * @Description 公告信息返回值
 * @Author leizhang
 * Date 2021/8/27 2:34 下午
 * @Version 1.0
 **/
@Data
@ToString
public class AnnouncementResponse extends ResponseResult  {
    private AnnouncementDto data = null;
    public AnnouncementResponse(ResultCode resultCode, AnnouncementDto data){
        super(resultCode);
        this.data = data;
    }
}
